import service from "@/sdk/http/service";

/**
 * author:  LianYuTao
 * date: 2023/03/02 16:06
 * version: 1.0.1
 * desc: 组件库模块表
 */

// 组件库模块表-page
export function modulePage(params) {
    return service({
        url: "/module/page",
        method: "post",
        data: params
    });
}

// 组件库模块表-list
export function moduleList(params) {
    return service({
        url: "/module/list",
        method: "post",
        data: params
    });
}

// 组件库模块表-add
export function moduleAdd(params) {
    return service({
        url: "/module/add",
        method: "post",
        data: params
    });
}

// 组件库模块表-update
export function moduleUpdate(params) {
    return service({
        url: "/module/update",
        method: "post",
        data: params
    });
}

// 组件库模块表-delete
export function moduleDelete(params) {
    return service({
        url: "/module/delete",
        method: "post",
        data: params
    });
}

// 组件库模块表-detail
export function moduleDetail(params) {
    return service({
        url: "/module/detail",
        method: "post",
        data: params
    });
}

